package priv.project.pojo;


import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_rate")
public class Rate {
    private int id;
    private int userId;
    private int scenicId;
    private int rateOne;
    private int rateTwo;
    private int rateThree;
    private int rateFour;
    private int rateFive;
    private int rateSix;
    private int rateSum;
    private Boolean isRate;

    public Rate() {
    }

    public Rate(int id, int userId, int scenicId, int rateOne, int rateTwo, int rateThree, int rateFour, int rateFive, int rateSix, int rateSum, Boolean isRate) {
        this.id = id;
        this.userId = userId;
        this.scenicId = scenicId;
        this.rateOne = rateOne;
        this.rateTwo = rateTwo;
        this.rateThree = rateThree;
        this.rateFour = rateFour;
        this.rateFive = rateFive;
        this.rateSix = rateSix;
        this.rateSum = rateSum;
        this.isRate = isRate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getScenicId() {
        return scenicId;
    }

    public void setScenicId(int scenicId) {
        this.scenicId = scenicId;
    }

    public int getRateOne() {
        return rateOne;
    }

    public void setRateOne(int rateOne) {
        this.rateOne = rateOne;
    }

    public int getRateTwo() {
        return rateTwo;
    }

    public void setRateTwo(int rateTwo) {
        this.rateTwo = rateTwo;
    }

    public int getRateThree() {
        return rateThree;
    }

    public void setRateThree(int rateThree) {
        this.rateThree = rateThree;
    }

    public int getRateFour() {
        return rateFour;
    }

    public void setRateFour(int rateFour) {
        this.rateFour = rateFour;
    }

    public int getRateFive() {
        return rateFive;
    }

    public void setRateFive(int rateFive) {
        this.rateFive = rateFive;
    }

    public int getRateSix() {
        return rateSix;
    }

    public void setRateSix(int rateSix) {
        this.rateSix = rateSix;
    }

    public int getRateSum() {
        return rateSum;
    }

    public void setRateSum(int rateSum) {
        this.rateSum = rateSum;
    }

    public Boolean getIsRate() {
        return isRate;
    }

    public void setIsRate(Boolean isRate) {
        this.isRate = isRate;
    }

    @Override
    public String toString() {
        return "Rate{" +
                "id=" + id +
                ", userId=" + userId +
                ", scenicId=" + scenicId +
                ", rateOne=" + rateOne +
                ", rateTwo=" + rateTwo +
                ", rateThree=" + rateThree +
                ", rateFour=" + rateFour +
                ", rateFive=" + rateFive +
                ", rateSix=" + rateSix +
                ", rateSum=" + rateSum +
                ", isRate=" + isRate +
                '}';
    }
}
